iconcache: ref textures
authorTimm Bäder <mail@baedert.org>
Sat, 10 Aug 2019 17:36:56 +0000 (19:36 +0200)
committerTimm Bäder <mail@baedert.org>
Sun, 11 Aug 2019 07:05:31 +0000 (09:05 +0200)
commit251bf45cf24c9635e75f376776d2f2253dcc740e
tree8d2899a6c7aef1eafb06f9058275d620649be3cb
parent13c0a9e27b72ffe0a83a205402317326c7fa87f9
iconcache: ref textures

We can't just assume that the pointer we'se using as a cache key will
stay unique forever. The texture might be freed, and a later allocated
texture might have the same addres now, causing the cache to return
incorrect results.
gsk/gl/gskgliconcache.c